package com.cat.recruit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cat.recruit.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * @author cat
 */
public interface UserMapper extends BaseMapper<User> {
    User selectByUsername(String username);
    User selectByOpenId(String openId);
    int updateStateById(Integer id, String state);


    User selectByName(String username);
}
